{% extends 'base.html' %}
{% load crispy_forms_tags %}

{% block content %}
    <div class="row">
        <div class="col-6">
           <p class="text-muted">还没有账号？ 请<a href="{% url 'account_signup' %}">注册</a></p>
            <form method="POST" novalidate>
                {% csrf_token %}
                <fieldset class="form-group">
                    <legend class="border-bottom mb-4">{{ title }}</legend>
                    {{ form | crispy }}
                </fieldset>

                <div class="form-group">
                    <button class="btn btn-outline-primary" type="submit">登录</button>
                    <a class="text-sm ml-2" href="{% url 'account_reset_password' %}">忘记密码？</a>
                </div>
            </form>
        </div>
    </div>
{% endblock %}
